import request from '@/utils/request'

export const getOrderListApi = (state: string) => {
  return request({
    url: '/order/list',
    method: 'get',
    params: {
      state: state || ''
    }
  })
}
